<?php
define('LANGE_SAVE', '保存');
define('LANG_CANCEL', '取消');
define('LANG_CLOSE', '关闭');
define('LANG_ON', '启用');
define('LANG_OFF', '禁用');
define('LANG_ARG_ERROR', '参数错误');


/**
 * 订单状态
 */
$GLOBALS['backend_bill_status'] = array( //后台显示
    '0' => '未确认',
    '1' => '已确认',
    '2' => '已打印生产单',
    '3' => '已质检入库',
    '4' => '已上车',
    '5' => '已下车',
    '6' => '已出仓',
    '7' => '已完成',
    '10' => '已取消'
);

$GLOBALS['shop_bill_status'] = array( //前端显示
    '0' => '等待客服审核',
    '1' => '已确认',
//mod by yim.hu 20141121 FUN-BK-0035-订单状态优化 --start		
//     '2' => '已生产',
//     '3' => '已入库',
//     '4' => '已出库',
//     '5' => '已配送',
//     '6' => '已配送',
//     '7' => '已完成',
//     '10' => '已取消'
	    '2' => '已打印生产单',
	    '3' => '已质检入库',
	    '4' => '已上车',
	    '5' => '已下车',
	    '6' => '已出仓',//暂时没
//mod by yim.hu 20141121 FUN-BK-0035-订单状态优化 --end		
		'7' => '已完成',
		'10' => '已取消'
);

/**
 * 订单标识
 */
$GLOBALS['urgent'] = array(
    '0' => '',
    '1' => '加急',
    '2' => '重要',
    '3' => '普通',
);

/**
 * 订单平台
 */
$GLOBALS['bill_platform'] = array(
    '1' => '自营',
    '2' => '澳粒',
    '3' => '下午茶'
);

/**
 * 订单渠道
 */
$GLOBALS['bill_channel'] = array(
    '1' => 'web',
    '2' => 'wap',
    '3' => '微信',
    '4' => 'app',
    '5' => '线下',
    '6' => '客服'
);

/**
 * 订单类型
 */
$GLOBALS['bill_type'] = array(
    '1' => array(
        'name' => '正常订单',
        'is_receivable' => 1
    ),
    '2' => array(
        'name' => '生日会蛋糕',
        'is_receivable' => 1
    ),
    '3' => array(
        'name' => '市场推广',
        'is_receivable' => 1
    ),
    '4' => array(
        'name' => '其他订单',
        'is_receivable' => 1
    ),
    '5' => array(
        'name' => '补偿订单',
        'is_receivable' => 1
    ),
    '6' => array(
        'name' => '测试订单',
        'is_receivable' => 1
    ),
    '7' => array(
        'name' => '招待赠送',
        'is_receivable' => 1
    ),
    '8' => array(
        'name' => '大客户订单',
        'is_receivable' => 1
    ),
    '9' => array(
    'name' => '试吃订单',
    'is_receivable' => 0
)
);

/**
 * 使用状态
 */
$GLOBALS['use'] = array(
    '0' => '禁用',
    '1' => '启用'
);

/**
 * 支付状态
 */
$GLOBALS['pay_status'] = array(
    '0' => '未付款',
    '1' => '全付',
    '2' => '部分付'
);

/**
 * 配送状态
 */
$GLOBALS['deliver_status'] = array(
    '0' => '等待发货',
    '1' => '部分已发货',
    '2' => '全部已发货',
    '3' => '已收货确认'
);

/**
 * 会员来源
 */
$GLOBALS['cust_source'] = array(
    '1' => 'PC',
    '2' => 'WAP',
    '3' => 'APP',
    '4' => '微信',
    '5' => '客服',
    '6' => '第三方',
    '7' => '线下'
);

/**
 * 会员类型
 */
$GLOBALS['cust_type'] = array(
    '1' => '普通会员',
    '2' => '访客会员',
    '3' => '第三方会员',
    '4' => '大客户会员',
);

/**
 * 中文星期
 */
$GLOBALS['zh_week'] = array(
    '0' => '星期日',
    '1' => '星期一',
    '2' => '星期二',
    '3' => '星期三',
    '4' => '星期四',
    '5' => '星期五',
    '6' => '星期六'
);

/**
 * 英文星期
 */
$GLOBALS['en_week'] = array(
    '0' => 'Sunday',
    '1' => 'Monday',
    '2' => 'Tuesday',
    '3' => 'Wednesday',
    '4' => 'Thursday',
    '5' => 'Friday',
    '6' => 'Saturday'
);

/**
 * 法文星期
 * add by allen.qiang 20141027
 */
$GLOBALS['fr_week'] = array(
    '0' => 'Dimanche',
    '1' => 'Lundi',
    '2' => 'Mardi',
    '3' => 'Mercredi',
    '4' => 'Jeudi',
    '5' => 'Vendredi',
    '6' => 'Samedi'
);
/**
 * 商品配件单位
 */
$GLOBALS['fit_unit'] = array(
    '1' => '套',
    '2' => '份',
    '3' => '个',
    '4' => '包'
);

/**
 * 优惠券使用类型
 */
$GLOBALS['coupon_use_type'] = array(
    '1' => '券',
    '2' => '红包'
);

/**
 * 发票类型
 */
$GLOBALS['invoice_type'] = array(
    '1' => '商业零售发票'
);

/**
 * 发票抬头类型
 */
$GLOBALS['invoice_title_type'] = array(
    '1' => '个人',
    '2' => '单位'
);

/**
 * 上海导购支付id
 */
$GLOBALS['shanghai_cps_pay_id'] = 12;